import 'package:f_base_sy2/components/container_case.dart';
import 'package:f_base_sy2/components/custom_scroll_view.dart';
import 'package:f_base_sy2/components/grid_build_view.dart';
import 'package:f_base_sy2/components/grid_extend_view.dart';
import 'package:f_base_sy2/components/grid_view_case.dart';
import 'package:f_base_sy2/components/image_case.dart';
import 'package:f_base_sy2/components/layout_case.dart';
import 'package:f_base_sy2/components/list_case.dart';
import 'package:f_base_sy2/components/order_item_case.dart';
import 'package:f_base_sy2/components/order_list_case.dart';
import 'package:f_base_sy2/components/scroll_case.dart';
import 'package:f_base_sy2/components/stack_case.dart';
import 'package:f_base_sy2/components/text_case.dart';
import 'package:f_base_sy2/http/dio_case.dart';
import 'package:f_base_sy2/http/statefull_case.dart';
import 'package:f_base_sy2/pages/home_page.dart';
import 'package:flutter/material.dart';

class MyWidget extends StatelessWidget {
  const MyWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text("我是标题栏的标题"),
          backgroundColor: Colors.lightBlue,
          centerTitle: true,
          leading: const Icon(Icons.menu),
          actions: const [
            Icon(Icons.search),
            Icon(Icons.more_vert),
          ],
          elevation: 0,
          //文字颜色
          titleTextStyle: const TextStyle(
            color: Colors.white,
            fontSize: 20,
          ),
        ),
        body:  
        // const HomePage()
        const StatefullCase(title:"dalin is dog")
        // const DioCase()
        // const CustomScrollViewCase()

        // const GridExtendView()
        // const GridBuildView()
        // const GridViewCase()
        // const OrderListCase()
        // ListCase()
        // const ScrollCase()
        //  Container(
        //   child: const Column(
        //     children: [
        //       // Text('我是内容'),
        //       // Text('我是内容'),
        //       // Text(
        //       //   '我是内容',
        //       // ),
        //       // Text('比较结果:${identical(const [], const [])}'),
        //       // ContainerCase(),
        //       // TextCase(),
        //       // ImageCase(),
        //       // LayoutCase(),
        //       // StackCase(),
        //       OrderItemCase()
        //     ],
        //   ),
        // ),
      ),
    );
  }
}
